﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AlarmManagePlatform.Static
{
    public static class ParaInfo
    {
        public static Relations.DBUtility.SqlServer.SqlDb SqlDb;

        public static string SystemStartPath = System.Windows.Forms.Application.StartupPath + "\\";

        public static string ConfigFilePath = SystemStartPath + "Config.ini";

        public static string ImageCapturePath = SystemStartPath + "ImageCapture\\";

        //public static string VoiceFilePath = SystemStartPath + "Temp\\Voice.wav";

        public static string ReportTemplateHomePath = SystemStartPath + "ReportTemplate\\";

        public static string ReportHomePath = SystemStartPath + "Report\\";

        /// <summary>
        /// 任务累计序号
        /// </summary>
        public static int TaskCumulativeNumber;

        /// <summary>
        /// 上次打开时间
        /// </summary>
        public static DateTime LastOpenTime;

        public static string DateFormatShort = "yyyy-MM-dd";

        public static string DateFormatLong = "yyyy-MM-dd HH:mm:ss";

        public static Model.DB.tb_User CurrentUser;

        internal static List<Model.DB.tb_ParaInfo> ParaInfoALL;

        internal static Model.ParaInfo paraInfo;

        internal static string webServiceURL = "http://218.28.140.69:10888/RelationsLMPWebService.asmx";

        internal static SqlConnectionStringBuilder SqlConnectionStringBuilder;

        internal static List<Model.DB.tb_ParaInfo> GasList;

        internal static List<RelationsLMP.Model.InstrumentParaInfo> InstrumentParaInfoList;


    }
}
